<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>查找结果</title>
    <link rel="stylesheet" th:href="@{/webjars/bootstrap/4.0.0/css/bootstrap.css}"/>
    <script type="text/javascript" th:src="@{/webjars/jquery/3.3.1/jquery.js}"></script>
    <script type="text/javascript" th:src="@{/webjars/bootstrap/4.0.0/js/bootstrap.js}"></script>
    <style>
        html, body {
            background-color: #F8F8FF;
        }
    </style>
</head>
<body>
<br/>
<h2 style="color:blue;text-align: center;">粉丝列表</h2>

<div style="width:33%;margin:auto;">
    <table class="table table-striped table-hover table-bordered table-condensed">
        <thead>
        <tr>
            <th>学号</th>
            <th>姓名</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="f:${fanList}">
            <td th:text="${f.stuId}"></td>
            <td th:text="${f.name}"></td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>